<?xml version="1.0" encoding="UTF-8" ?>
<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<html xmlns:wicket="http://wicket.apache.org">
<head>
<wicket:head>
<title>Live Sessions Page</title>
</wicket:head>
</head>
<body>
  <wicket:extend>
  <h1><img border="0" wicket:id="bug" src="bug.png"/> Wicket Sessions Inspector</h1>
	<a href="javascript:history.go(-1)">Go Back</a>

    <span wicket:id="application">Application view here</span>
  
  	<h2>Session Information  <a wicket:id="togglelink" href="#"><span wicket:id="toggletext"></span></a></h2>
	<table>
		<tr><td>Total created sessions</td><td><span wicket:id="totalSessions"></span></td></tr>
		<tr><td>Live session count</td><td><span wicket:id="liveSessions"></span></td></tr>
		<tr><td>Peak session count</td><td><span wicket:id="peakSessions"></span></td></tr>
	</table>	
	
	<p>Live Sessions</p>
	<table border="1">
		<tr>
			<th>Session Id</th>
			<th>Last Request Time</th>
			<th>Request Count</th>
			<th>Total Request Time (ms)</th>
			<th>Session size (B)</th>
		</tr>
		<tr wicket:id="sessions">
			<td><a wicket:id="id" href="#"><span wicket:id="id"></span></a></td>
			<td wicket:id="lastRequestTime" align="right"></td>
			<td wicket:id="requestCount" align="right"></td>
			<td wicket:id="requestsTime" align="right"></td>
			<td wicket:id="sessionSize" align="right"></td>
		</tr>
	</table>
	<span wicket:id="navigator"></span>
  </wicket:extend>
</body>
</html>
